package com.bdult.vh.service;

import java.util.*;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.bdult.vh.dao.ItemDAO;
import com.bdult.vh.vo.ItemVO;

@Service
public class ItemService {
	@Autowired
	private ItemDAO itemDAO;
	
	public ArrayList<HashMap<String,String>> getItemList(Map map) {
		return itemDAO.getItemList(map);
	}
	
	public ArrayList<HashMap<String,String>> getItemList_best() {
		return itemDAO.getItemList_best();
	}
	
	public ArrayList<HashMap<String,String>> getItemList_category(Map map) {
		return itemDAO.getItemList_category(map);
	}
	
	public ArrayList<HashMap<String,String>> getItemList_keyword(Map map) {
		return itemDAO.getItemList_keyword(map);
	}
	
	public ArrayList<HashMap<String,String>> getItemList_prdlist(Map map) {
		return itemDAO.getItemList_prdlist(map);
	}
	
	public HashMap<String,String> getItemData(String prdcd) {
		return itemDAO.getItemData(prdcd);
	}
	
	public ArrayList<HashMap<String,String>> getItemOption(String prdcd) {
		return itemDAO.getItemOption(prdcd);
	}
}
